from pydantic import BaseModel
from typing import List, Dict, Optional

class DownloadRequest(BaseModel):
    platform: str
    url: str
    type: str = 'single'
    filters: Optional[Dict] = None

class BatchDownloadRequest(BaseModel):
    platform: str
    urls: List[str]
    filters: Optional[Dict] = None 